package com.niit.domain;

import java.util.Date;

public class Leave_message {
    private int id;
    private String lname;
    private String content;
    private String phone;
    private Date ltime;
    private String answere;

    public Leave_message() {
    }

    public Leave_message(int id, String lname, String content, String phone, Date ltime, String answere) {
        this.id = id;
        this.lname = lname;
        this.content = content;
        this.phone = phone;
        this.ltime = ltime;
        this.answere = answere;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLname() {
        return lname;
    }

    public void setLname(String lname) {
        this.lname = lname;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getLtime() {
        return ltime;
    }

    public void setLtime(Date ltime) {
        this.ltime = ltime;
    }

    public String getAnswere() {
        return answere;
    }

    public void setAnswere(String answere) {
        this.answere = answere;
    }

    @Override
    public String toString() {
        return "Leave_message{" +
                "id=" + id +
                ", lname='" + lname + '\'' +
                ", content='" + content + '\'' +
                ", phone='" + phone + '\'' +
                ", ltime=" + ltime +
                ", answere='" + answere + '\'' +
                '}';
    }
}
